@import "../../element-variables";

*, *:before, *:after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  height: 100%;
}

body {
  color: $--color-text-primary;
  background-color: $--background-color-base;
  font-size: $--font-size-base;
  font-family: PingFangSC-Regular, Microsoft YaHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, SimSun, sans-serif;
  position: relative;
  line-height: 1.42875;
  min-height: 100%;
  overflow-x: hidden;
  //overflow-x: hidden;
}

ul, h1, h2, h3, h4, h5, input, dd, dl, dt, p, ol, li, address {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

i {
  font-style: normal;
}

.table {
  width: 100%;
  table-layout: fixed;

  th {
    font-weight: normal;
    text-align: left;
  }

  td {
    padding: 0 8px;
  }
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.text-blod {
  font-weight: bold;
}

.text-primay {
  color: $--color-primary !important;
}

.text-primay-hover:hover {
  color: $--color-primary;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: $--color-text-primary;
}

.text-small {
  font-size: 12px;
}

.no-padding {
  padding: 0 !important;
}

.clearfix {
  zoom: 1;

  &:after, &:before {
    content: " ";
    display: block;
    clear: both;
  }
}

.show {
  display: block !important;
}

.hide {
  display: none !important;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: $--website-width;
  margin: 0 auto;
  position: relative;
}

.text-ligingray {
  color: #9e9e9e;
}

input, textarea, select {
  background-color: #fff;
}

.tag {
  color: #fff;
  background-color: $--color-primary;
  text-align: center;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 2px;
}

.box {
  background-color: #fff;
}

// 登录
.dialog-login {
  width: 360px;
}

.header-box {
  display: table;
  table-layout: fixed;
  width: 100%;
  padding: 0 20px;
  border-bottom: 1px solid #dedede;
  position: relative;

  .title, .actions {
    display: table-cell;
    vertical-align: middle;
  }

  .title {
    font-weight: normal;
  }
}

.img-box {
  overflow: hidden;
}

img{
  vertical-align: middle;
}

a:active, a:hover,a:focus{
  outline: none;
}

// 图文混排
.pic-text {
  @extend .clearfix;
  .img-box {
    float: left;
    margin-right: 10px;
  }

  .text-box {

  }
}

/* 企业搜索无结果 */
.no-result {
  text-align: center;
  padding: 80px 0;
  background-color: #fff;

  .keyword {
    display: inline-block;
    max-width: 100px;
    color: $--color-primary;
    vertical-align: middle;
  }
}

.no-result p {
  background: url('~assets/img/no-result.png') no-repeat left center;
  display: inline-block;
  height: 110px;
  padding-left: 120px;
  color: #6e6e6e;
  line-height: 110px;
  font-size: 16px;
}

/* 省略号 */
.ellipsis {
  color: #f64f38;
  padding-left: 8px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

// 面包屑
.breadcrumb {
  .el-breadcrumb__separator {
    color: #6e6e6e;
    font-weight: normal;
  }

  a[href] {
    color: $--color-primary;
  }
}

// recomd
.recomd-box {
  width: 350px;
  float: right;
}

// 索条上的分页
.search-page {
  line-height: 44px;
  color: #9e9e9e;
  padding: 0 10px;
}

.search-page i[class*=icon] {
  margin: 0 10px;
  cursor: pointer;
}

.search-page i[class*=icon][disabled] {
  color: #dedede;
  cursor: not-allowed;
}

.search-page input {
  width: 36px;
  height: 24px;
  background: #fff;
  text-align: center;
  border: 1px solid #dedede;
  margin-right: 3px;
  color: #f64f38;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}


